//
// Created by Administrator on 2025/4/15/周二.
//
#include "iostream"

using namespace std;

//其中b、c的值是默认的，但是也可以修改
int func(int a, int b = 10, int c = 10) {
    return a + b + c;

}


int main() {
    int temp1 = func(1);
    cout << "temp1 = " << temp1 << endl;
    int temp2 = func(10, 20, 30);
    cout << "temp1 = " << temp2 << endl;

}